import { createRouter, createWebHashHistory } from "vue-router";

import login from '../login.vue'
import user from '../user.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:login
        },
        {
            path:'/user',
            component:user
        }
    ]
})

export default router